package listen;

import java.util.Date;
import java.util.TimerTask;

public class MyTask extends TimerTask {

	@Override
	public void run() {
		Date dt = new Date();
		System.out.println(dt+"定时器工作...");
	}

}
